package com.mep.auth.feign;

import com.mep.auth.model.SysLoginLog;
import com.mep.common.http.HttpResult;
import com.mep.common.page.PageRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "story-auth/loginlog", path = "/")
public interface IFeignSysLoginLogApi {

    @PostMapping(value="/findPage")
    HttpResult findPage(@RequestBody PageRequest pageRequest);

    @PostMapping(value="/delete")
    HttpResult delete(@RequestBody List<SysLoginLog> records);
}
